import User from './user.component.vue';
import Passwords from '../password.vue';
import mineList from '../mine_list.vue';
import mineMsg from '../mine_msg.vue';
import mineSet from '../mine_set.vue';
import aboutUs from '../about_us.vue';
import version from '../version.vue';
import staffachievement from '../staffachievement.vue';
import userdonegrup from '../user-delivery-grup.vue';
import userdone from '../user-delivery-done.vue';

export const userRoutes = [{
    path: '/user',
    component: User,
    meta: {
        crumbName: '用户'
    },
    children: [{
            path: '',
            name: '我的列表',
            component: mineList
        },
        {
            path: 'password',
            name: '找回密码',
            component: Passwords
        },
        {
            path: 'msg',
            name: '我的资料',
            component: mineMsg
        }, {
            path: 'set',
            name: '我的设置',
            component: mineSet
        }, {
            path: 'set/version',
            name: '版本',
            component: version,
        }, {
            path: 'set/aboutus',
            name: '关于我们',
            component: aboutUs
        }, {
            path: 'staffachievement',
            name: '绩效件数',
            component: staffachievement
        }, {
            path: 'userdonegrup',
            name: '补录回执',
            component: userdonegrup
        }, {
            path: 'userdone',
            name: '补录回执详情',
            component: userdone
        }

    ]
}]